const mongoose = require('mongoose')

const filmSchema = new mongoose.Schema({
    name:String,
    ename:String,
    area:String,
    upDate:String,
    type:String,
    time:Number,
    images:Array,
    director:String,
    actor:Array
})

module.exports = mongoose.model('filmModel',filmSchema,'films');